package com.suyang.syt.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/** 微信素材实体类 */
@Entity
@Table(name = "WX_MATERIAL")
@SuppressWarnings("serial")
public class WeixinMaterial extends BaseEntity {
	/** 媒体文件类型，分别有图片（image）、语音（voice）、视频（video）和缩略图（thumb，主要用于视频与音乐格式的缩略图） */
	private String type;

	/** 素材ID */
	private String media_id;

	/** 素材URL(永久素材才可能有) */
	private String media_url;

	/** 素材 */
	private String media;

	/** 上传时间戳 */
	private String created_at;

	/** 图文消息的图文信息id集合,用逗号隔开 */
	private String weixinImageTextIds;

	/** 永久视频素材需要的标题 */
	private String title;
	/** 永久视频素材需要的视频描述 */
	private String introduction;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getMedia_id() {
		return media_id;
	}

	public void setMedia_id(String media_id) {
		this.media_id = media_id;
	}

	public String getMedia_url() {
		return media_url;
	}

	public void setMedia_url(String media_url) {
		this.media_url = media_url;
	}

	public String getMedia() {
		return media;
	}

	public void setMedia(String media) {
		this.media = media;
	}

	public String getCreated_at() {
		return created_at;
	}

	public void setCreated_at(String created_at) {
		this.created_at = created_at;
	}

	public String getWeixinImageTextIds() {
		return weixinImageTextIds;
	}

	public void setWeixinImageTextIds(String weixinImageTextIds) {
		this.weixinImageTextIds = weixinImageTextIds;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

}
